package com.bee.user.common.domain;


import com.baomidou.mybatisplus.annotation.TableName;
import com.bee.commons.orm.domain.BaseDO;
import lombok.Data;

import java.util.Date;

/**
 * 用户
 *
 * @author Damin.yang
 * @date 2019/8/27 9:20
 */
@Data
@TableName(value = "user")
public class UserDO extends BaseDO {

    private String username;

    private String name;

    private String phone;

    private String password;

    private String salt;

    private String sex;

    private String address;

    private String headImgUrl;

    /**
     * 0:禁用 1:启用
     */
    private Boolean enable;

    /**
     * 用户类型，0：普通用户，1：内部用户
     */
    private Integer type;

    private String lastLoginIp;

    private Integer loginTimes;

    private Date lastLoginTime;

    private Long orgId;


}
